<?php


define('CON_PATH','protected/Controller/');
define('LIB_PATH','protected/lib/');
define('VIEW_PATH','protected/View/');


$mod=(empty($_GET['mod'])||$_GET['mod']=='home')?'home':'admin';
$controller=empty($_GET['c'])?'index':$_GET['c'];
$action=empty($_GET['a'])?'index':$_GET['a'];




include_once LIB_PATH."init.php";       //引入初始化文件
include_once CON_PATH.$mod."/".$controller.'/'.$action.'.php';



?>

